<template>
<div>
  <van-nav-bar
      title="云开发"
      left-text="返回"
      right-text="按钮"
      left-arrow
      @click-left="onClickLeft"
      @click-right="onClickRight"
      style='background-color: blue'
  />
</div>
</template>

<script>
import { Toast } from 'vant';
export default {
name: "head",
  methods:{
    onClickLeft() {
      Toast('返回');
    },
    onClickRight() {
      Toast('按钮');
    },
  }
}
</script>

<style scoped>

</style>
